package cn.wolfcode.crm.web.controller;

import cn.wolfcode.crm.domain.Insurancebill;
import cn.wolfcode.crm.query.ObjectQuery;
import cn.wolfcode.crm.query.PageResult;
import cn.wolfcode.crm.service.IInsurancebillService;
import cn.wolfcode.crm.util.JsonResult;
import cn.wolfcode.crm.util.PermissionName;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.List;

@Controller
@RequestMapping("insure")  //投保页面 跳转controller
public class InsureController {
    @Autowired
    private IInsurancebillService insurancebillService;

    @RequiresPermissions("insure:index")
    @PermissionName("投保单历史记录主页")
    @RequestMapping("index")
    public String index() {
        return "insure/list";
    }


}
